/**
 * All rights reserved by www.xandroid.cn
 */
package xfok.net.xandroid.examples;

import xfok.net.xandroid.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;

/**
 * @author YangHua
 *  转载请注明出处：http://www.xfok.net/android/200911/6.html
 * 2009-11-6 www.xandroid.cn 
 */
public class Title extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        setContentView(R.layout.title_text);
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title);      
    }
}
